# -*- encoding: utf-8 -*-
'''
@File        : current_time.py       
@License     : (C)Copyright 2021 LeeRoc (cn) Lipeng
@Modify Time : 2021/7/30 7:49 下午 
@Author      : LeeRoc
@Version     : 1.0
@Desciption  : 获取当前时间
'''

import time


class current_time:
    def get_current_time(self):
        return time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())


class packet_time:
    def packeted_time(self):
        return time.strftime("%Y%m%d%H%M%S", time.localtime())
